package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.AdUserDto;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author Jt
 * @date 2021/4/11 16:05
 */
public interface AdUserService extends IService<AdUser> {

    /**
     * admin登录
     * @param adUserDto
     * @return
     */
    ResponseResult login (AdUserDto adUserDto);

    /**
     * 注册功能
     * @param adUser
     * @return
     */
    ResponseResult register (AdUser adUser);

}
